package com.test.demo;

/**
 * ${DESCRIPTION}
 *
 * @author muxiaoyu
 * @create 2017/05/16 13:33
 **/
public class ThreadDemo111 extends Thread {
    public static int count = 100000;

    @Override
    public void run() {
        while (count > 0) {
            System.out.println(count);
            count--;
        }
    }

    public static void main(String[] args) {
        ThreadDemo111 t1 = new ThreadDemo111();
        ThreadDemo111 t2 = new ThreadDemo111();
        ThreadDemo111 t3 = new ThreadDemo111();
        ThreadDemo111 t4 = new ThreadDemo111();
        t1.start();
        t2.start();
        t3.start();
        t4.start();
    }
}
